package com.ncucoder.hsob.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author <a href="https://edit.ncucoder.com">hsowan</a>
 * @since 18-12-1 下午8:22
 **/
@RestController
@RequestMapping("/hello")
public class HelloController {

    @GetMapping
    public ModelAndView hello(){
        ModelAndView mav = new ModelAndView();
        mav.setViewName("ui/user/index");
        return mav;
    }
}
